<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Collision Checker: /home/osboxes/Documents/p3/root_comm/root/tools/commonroad-collision-checker/cpp/collision/timevariant_collisionobject.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Collision Checker
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_df511e5bd85cec96854b39d5e1c27aa8.html">cpp</a></li><li class="navelem"><a class="el" href="dir_bf0f0c8865c1942e08ab5157e2c596db.html">collision</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">timevariant_collisionobject.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="timevariant__collisionobject_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef TIME_VARIANT_COLLISION_OBJECT_H_</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define TIME_VARIANT_COLLISION_OBJECT_H_</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;sstream&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//#include &quot;collision/rectangle_obb.hpp&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//#include &quot;collision/rectangle_aabb.hpp&quot;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="collision__object_8h.html">collision/collision_object.h</a>&quot;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="shape_8h.html">collision/shape.h</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="shapegroup_8h.html">collision/shapegroup.h</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacecollision.html">collision</a>{</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html">   23</a></span>&#160;<span class="keyword">class </span><a class="code" href="classcollision_1_1_time_variant_collision_object.html">TimeVariantCollisionObject</a> : <span class="keyword">public</span> <a class="code" href="classcollision_1_1_collision_object.html">CollisionObject</a> {</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#abf3da18bb150f5574cce44d4312f9d1d">   26</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#abf3da18bb150f5574cce44d4312f9d1d">~TimeVariantCollisionObject</a>() {}</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <span class="comment">/*</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">    virtual bool collide(const CollisionObject&amp; c) const;</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">    virtual bool collide(const Shape&amp; shape) const;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">    virtual bool collide(const Point&amp; point) const;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">    virtual bool collide(const RectangleAABB&amp; aabb) const;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">    virtual bool collide(const RectangleOBB&amp; obb) const;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">    virtual bool collide(const Sphere&amp; sphere) const;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">    virtual bool collide(const Triangle&amp; triangle) const;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">    virtual bool collide(const TimeVariantCollisionObject&amp; tvco) const;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">    virtual bool collide(const ShapeGroup&amp; sg) const;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">    virtual bool collide(const Polygon&amp; polygon) const;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ad234f952bfae74c775256dd08f6da8c5">TimeVariantCollisionObject</a>(<span class="keywordtype">int</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a455b982fbedf86e5876076b73a1ffab1">time_start_idx</a>);</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#afdc7b4c3f3848b4e4978bc3eaa67455c">getObstacleAtTime</a>(<span class="keywordtype">int</span> time_idx) <span class="keyword">const</span>;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ab59814dd8f7a109edd22df8d250c96f7">appendObstacle</a>(<a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a> obstacle);</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a8363cd3141ba8ec00b6abba8ce75e4a0">timeSlice</a>(<span class="keywordtype">int</span> time_idx, <a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a> shared_ptr_this) <span class="keyword">const</span> ;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <a class="code" href="namespacecollision.html#ad1f68b4864b28e2694b3b3b7a1f9e43c">BoundingVolumeConstPtr</a> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a9dec5089442e41a13f87255e0094c7cc">getBoundingVolume</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a455b982fbedf86e5876076b73a1ffab1">time_start_idx</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#acadcdccbca2fe1a4ecef01a596f91993">time_end_idx</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a7136e0ab4b29a769ee9720784523f933">RayTrace</a>(Eigen::Vector2d point1, Eigen::Vector2d point2, std::vector&lt;LineSegment&gt;&amp; intersect) <span class="keyword">const</span>;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a06de29fc73aa920224c25067288ae8f0">collide</a>(<span class="keyword">const</span> <a class="code" href="classcollision_1_1_collision_object.html">CollisionObject</a>&amp; c, <span class="keywordtype">bool</span> prim=<span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a06de29fc73aa920224c25067288ae8f0">collide</a>(<span class="keyword">const</span> <a class="code" href="classcollision_1_1_shape.html">Shape</a>&amp; shape, <span class="keywordtype">bool</span> prim=<span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a06de29fc73aa920224c25067288ae8f0">collide</a>(<span class="keyword">const</span> <a class="code" href="classcollision_1_1_point.html">Point</a>&amp; point, <span class="keywordtype">bool</span> prim=<span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a06de29fc73aa920224c25067288ae8f0">collide</a>(<span class="keyword">const</span> <a class="code" href="classcollision_1_1_rectangle_a_a_b_b.html">RectangleAABB</a>&amp; aabb, <span class="keywordtype">bool</span> prim=<span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a06de29fc73aa920224c25067288ae8f0">collide</a>(<span class="keyword">const</span> <a class="code" href="classcollision_1_1_rectangle_o_b_b.html">RectangleOBB</a>&amp; obb, <span class="keywordtype">bool</span> prim=<span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a06de29fc73aa920224c25067288ae8f0">collide</a>(<span class="keyword">const</span> <a class="code" href="classcollision_1_1_sphere.html">Sphere</a>&amp; sphere, <span class="keywordtype">bool</span> prim=<span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a06de29fc73aa920224c25067288ae8f0">collide</a>(<span class="keyword">const</span> <a class="code" href="classcollision_1_1_triangle.html">Triangle</a>&amp; triangle, <span class="keywordtype">bool</span> prim=<span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a06de29fc73aa920224c25067288ae8f0">collide</a>(<span class="keyword">const</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html">TimeVariantCollisionObject</a>&amp; tvco, <span class="keywordtype">bool</span> prim=<span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a06de29fc73aa920224c25067288ae8f0">collide</a>(<span class="keyword">const</span> <a class="code" href="classcollision_1_1_shape_group.html">ShapeGroup</a>&amp; sg, <span class="keywordtype">bool</span> prim=<span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a06de29fc73aa920224c25067288ae8f0">collide</a>(<span class="keyword">const</span> <a class="code" href="classcollision_1_1_polygon.html">Polygon</a>&amp; polygon, <span class="keywordtype">bool</span> prim=<span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#af3c9332c3de8c7b69b666bab8dd7a61c">print</a>(std::ostringstream &amp;stream) <span class="keyword">const</span>;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a56c9899dffb6c4e948bca67d0cf5998e">addParentMap</a>(std::unordered_map&lt;<span class="keyword">const</span> <a class="code" href="classcollision_1_1_collision_object.html">CollisionObject</a>*, std::list&lt;CollisionObjectConstPtr&gt;&gt;&amp; parent_map ) <span class="keyword">const</span>;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#afd432e87c1018c41713eb6d51dd7d79c">get_collision_entity_type</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#ac948c1373eecc7d7c9029996c5dc2ab4">   78</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ac948c1373eecc7d7c9029996c5dc2ab4">time_start_idx_</a>;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#a83f60dea6e80754d544e5af6cedd36f1">   79</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a83f60dea6e80754d544e5af6cedd36f1">time_end_idx_</a>;</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#aaeda983c8e36ac18f988168261f57744">   80</a></span>&#160;    std::vector&lt;CollisionObjectConstPtr&gt; <a class="code" href="classcollision_1_1_time_variant_collision_object.html#aaeda983c8e36ac18f988168261f57744">collision_object_at_time_</a>;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;};</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">typedef</span> std::shared_ptr&lt;TimeVariantCollisionObject&gt; </div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="namespacecollision.html#a33f4fdd6d92f34f3d673b6f52a1dd370">   84</a></span>&#160;  <a class="code" href="namespacecollision.html#a33f4fdd6d92f34f3d673b6f52a1dd370">TimeVariantCollisionObjectPtr</a>;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="keyword">typedef</span> std::shared_ptr&lt;const TimeVariantCollisionObject&gt;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="namespacecollision.html#aa9259780320de4a03377dc97771c2eac">   86</a></span>&#160;  <a class="code" href="namespacecollision.html#aa9259780320de4a03377dc97771c2eac">TimeVariantCollisionObjectConstPtr</a>;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;}</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classcollision_1_1_rectangle_o_b_b_html"><div class="ttname"><a href="classcollision_1_1_rectangle_o_b_b.html">collision::RectangleOBB</a></div><div class="ttdoc">Oriented rectangle. </div><div class="ttdef"><b>Definition:</b> <a href="rectangle__obb_8h_source.html#l00016">rectangle_obb.h:16</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html">collision::TimeVariantCollisionObject</a></div><div class="ttdoc">TimeVariantCollisionObject can contain a different CollisionObject or ShapeGroup at each time step...</div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8h_source.html#l00023">timevariant_collisionobject.h:23</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_a8363cd3141ba8ec00b6abba8ce75e4a0"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#a8363cd3141ba8ec00b6abba8ce75e4a0">collision::TimeVariantCollisionObject::timeSlice</a></div><div class="ttdeci">virtual CollisionObjectConstPtr timeSlice(int time_idx, CollisionObjectConstPtr shared_ptr_this) const </div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8cc_source.html#l00167">timevariant_collisionobject.cc:167</a></div></div>
<div class="ttc" id="classcollision_1_1_triangle_html"><div class="ttname"><a href="classcollision_1_1_triangle.html">collision::Triangle</a></div><div class="ttdoc">Triangle. </div><div class="ttdef"><b>Definition:</b> <a href="triangle_8h_source.html#l00017">triangle.h:17</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_ad234f952bfae74c775256dd08f6da8c5"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#ad234f952bfae74c775256dd08f6da8c5">collision::TimeVariantCollisionObject::TimeVariantCollisionObject</a></div><div class="ttdeci">TimeVariantCollisionObject(int time_start_idx)</div><div class="ttdoc">Dispatcher functions. </div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8cc_source.html#l00148">timevariant_collisionobject.cc:148</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_afd432e87c1018c41713eb6d51dd7d79c"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#afd432e87c1018c41713eb6d51dd7d79c">collision::TimeVariantCollisionObject::get_collision_entity_type</a></div><div class="ttdeci">virtual int get_collision_entity_type(void) const </div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8cc_source.html#l00005">timevariant_collisionobject.cc:5</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_a455b982fbedf86e5876076b73a1ffab1"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#a455b982fbedf86e5876076b73a1ffab1">collision::TimeVariantCollisionObject::time_start_idx</a></div><div class="ttdeci">int time_start_idx() const </div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8cc_source.html#l00159">timevariant_collisionobject.cc:159</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_ac948c1373eecc7d7c9029996c5dc2ab4"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#ac948c1373eecc7d7c9029996c5dc2ab4">collision::TimeVariantCollisionObject::time_start_idx_</a></div><div class="ttdeci">int time_start_idx_</div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8h_source.html#l00078">timevariant_collisionobject.h:78</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_afdc7b4c3f3848b4e4978bc3eaa67455c"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#afdc7b4c3f3848b4e4978bc3eaa67455c">collision::TimeVariantCollisionObject::getObstacleAtTime</a></div><div class="ttdeci">CollisionObjectConstPtr getObstacleAtTime(int time_idx) const </div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8cc_source.html#l00153">timevariant_collisionobject.cc:153</a></div></div>
<div class="ttc" id="classcollision_1_1_shape_group_html"><div class="ttname"><a href="classcollision_1_1_shape_group.html">collision::ShapeGroup</a></div><div class="ttdoc">ShapeGroup can contain simple shapes. </div><div class="ttdef"><b>Definition:</b> <a href="shapegroup_8h_source.html#l00032">shapegroup.h:32</a></div></div>
<div class="ttc" id="namespacecollision_html_a33f4fdd6d92f34f3d673b6f52a1dd370"><div class="ttname"><a href="namespacecollision.html#a33f4fdd6d92f34f3d673b6f52a1dd370">collision::TimeVariantCollisionObjectPtr</a></div><div class="ttdeci">std::shared_ptr&lt; TimeVariantCollisionObject &gt; TimeVariantCollisionObjectPtr</div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8h_source.html#l00084">timevariant_collisionobject.h:84</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_a06de29fc73aa920224c25067288ae8f0"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#a06de29fc73aa920224c25067288ae8f0">collision::TimeVariantCollisionObject::collide</a></div><div class="ttdeci">bool collide(const CollisionObject &amp;c, bool prim=false) const </div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8cc_source.html#l00020">timevariant_collisionobject.cc:20</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_a9dec5089442e41a13f87255e0094c7cc"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#a9dec5089442e41a13f87255e0094c7cc">collision::TimeVariantCollisionObject::getBoundingVolume</a></div><div class="ttdeci">BoundingVolumeConstPtr getBoundingVolume() const </div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8cc_source.html#l00112">timevariant_collisionobject.cc:112</a></div></div>
<div class="ttc" id="shapegroup_8h_html"><div class="ttname"><a href="shapegroup_8h.html">shapegroup.h</a></div></div>
<div class="ttc" id="namespacecollision_html_a405f2c04407997fea529aad88f04ad30"><div class="ttname"><a href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">collision::CollisionObjectConstPtr</a></div><div class="ttdeci">std::shared_ptr&lt; const CollisionObject &gt; CollisionObjectConstPtr</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00032">collision_object.h:32</a></div></div>
<div class="ttc" id="namespacecollision_html"><div class="ttname"><a href="namespacecollision.html">collision</a></div><div class="ttdef"><b>Definition:</b> <a href="_application_8h_source.html#l00025">Application.h:25</a></div></div>
<div class="ttc" id="classcollision_1_1_sphere_html"><div class="ttname"><a href="classcollision_1_1_sphere.html">collision::Sphere</a></div><div class="ttdoc">Circle. </div><div class="ttdef"><b>Definition:</b> <a href="sphere_8h_source.html#l00014">sphere.h:14</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_a83f60dea6e80754d544e5af6cedd36f1"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#a83f60dea6e80754d544e5af6cedd36f1">collision::TimeVariantCollisionObject::time_end_idx_</a></div><div class="ttdeci">int time_end_idx_</div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8h_source.html#l00079">timevariant_collisionobject.h:79</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_ab59814dd8f7a109edd22df8d250c96f7"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#ab59814dd8f7a109edd22df8d250c96f7">collision::TimeVariantCollisionObject::appendObstacle</a></div><div class="ttdeci">int appendObstacle(CollisionObjectConstPtr obstacle)</div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8cc_source.html#l00172">timevariant_collisionobject.cc:172</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_a56c9899dffb6c4e948bca67d0cf5998e"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#a56c9899dffb6c4e948bca67d0cf5998e">collision::TimeVariantCollisionObject::addParentMap</a></div><div class="ttdeci">virtual void addParentMap(std::unordered_map&lt; const CollisionObject *, std::list&lt; CollisionObjectConstPtr &gt;&gt; &amp;parent_map) const </div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8cc_source.html#l00178">timevariant_collisionobject.cc:178</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_a7136e0ab4b29a769ee9720784523f933"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#a7136e0ab4b29a769ee9720784523f933">collision::TimeVariantCollisionObject::RayTrace</a></div><div class="ttdeci">bool RayTrace(Eigen::Vector2d point1, Eigen::Vector2d point2, std::vector&lt; LineSegment &gt; &amp;intersect) const </div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8cc_source.html#l00010">timevariant_collisionobject.cc:10</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_aaeda983c8e36ac18f988168261f57744"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#aaeda983c8e36ac18f988168261f57744">collision::TimeVariantCollisionObject::collision_object_at_time_</a></div><div class="ttdeci">std::vector&lt; CollisionObjectConstPtr &gt; collision_object_at_time_</div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8h_source.html#l00080">timevariant_collisionobject.h:80</a></div></div>
<div class="ttc" id="classcollision_1_1_rectangle_a_a_b_b_html"><div class="ttname"><a href="classcollision_1_1_rectangle_a_a_b_b.html">collision::RectangleAABB</a></div><div class="ttdoc">Axis-aligned rectangle. </div><div class="ttdef"><b>Definition:</b> <a href="rectangle__aabb_8h_source.html#l00018">rectangle_aabb.h:18</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_abf3da18bb150f5574cce44d4312f9d1d"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#abf3da18bb150f5574cce44d4312f9d1d">collision::TimeVariantCollisionObject::~TimeVariantCollisionObject</a></div><div class="ttdeci">virtual ~TimeVariantCollisionObject()</div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8h_source.html#l00026">timevariant_collisionobject.h:26</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_af3c9332c3de8c7b69b666bab8dd7a61c"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#af3c9332c3de8c7b69b666bab8dd7a61c">collision::TimeVariantCollisionObject::print</a></div><div class="ttdeci">virtual void print(std::ostringstream &amp;stream) const </div><div class="ttdoc">Print all parameters of the shape. </div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8cc_source.html#l00103">timevariant_collisionobject.cc:103</a></div></div>
<div class="ttc" id="classcollision_1_1_shape_html"><div class="ttname"><a href="classcollision_1_1_shape.html">collision::Shape</a></div><div class="ttdoc">Base prototype for the shape of an obstacle. </div><div class="ttdef"><b>Definition:</b> <a href="shape_8h_source.html#l00027">shape.h:27</a></div></div>
<div class="ttc" id="collision__object_8h_html"><div class="ttname"><a href="collision__object_8h.html">collision_object.h</a></div></div>
<div class="ttc" id="shape_8h_html"><div class="ttname"><a href="shape_8h.html">shape.h</a></div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html"><div class="ttname"><a href="classcollision_1_1_collision_object.html">collision::CollisionObject</a></div><div class="ttdoc">Base class for CollisionObjects and some of their groups. </div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00041">collision_object.h:41</a></div></div>
<div class="ttc" id="namespacecollision_html_ad1f68b4864b28e2694b3b3b7a1f9e43c"><div class="ttname"><a href="namespacecollision.html#ad1f68b4864b28e2694b3b3b7a1f9e43c">collision::BoundingVolumeConstPtr</a></div><div class="ttdeci">std::shared_ptr&lt; const BoundingVolume &gt; BoundingVolumeConstPtr</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00035">collision_object.h:35</a></div></div>
<div class="ttc" id="classcollision_1_1_point_html"><div class="ttname"><a href="classcollision_1_1_point.html">collision::Point</a></div><div class="ttdoc">A point in space. </div><div class="ttdef"><b>Definition:</b> <a href="point_8h_source.html#l00015">point.h:15</a></div></div>
<div class="ttc" id="classcollision_1_1_polygon_html"><div class="ttname"><a href="classcollision_1_1_polygon.html">collision::Polygon</a></div><div class="ttdoc">Polygon contains Triangles and Vertices. </div><div class="ttdef"><b>Definition:</b> <a href="polygon_8h_source.html#l00021">polygon.h:21</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_acadcdccbca2fe1a4ecef01a596f91993"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#acadcdccbca2fe1a4ecef01a596f91993">collision::TimeVariantCollisionObject::time_end_idx</a></div><div class="ttdeci">int time_end_idx() const </div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8cc_source.html#l00163">timevariant_collisionobject.cc:163</a></div></div>
<div class="ttc" id="namespacecollision_html_aa9259780320de4a03377dc97771c2eac"><div class="ttname"><a href="namespacecollision.html#aa9259780320de4a03377dc97771c2eac">collision::TimeVariantCollisionObjectConstPtr</a></div><div class="ttdeci">std::shared_ptr&lt; const TimeVariantCollisionObject &gt; TimeVariantCollisionObjectConstPtr</div><div class="ttdef"><b>Definition:</b> <a href="timevariant__collisionobject_8h_source.html#l00086">timevariant_collisionobject.h:86</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
